.PHONY:all
all:chat_client server_main
chat_client:ChatClient.cc
	g++ -o $@ $^ -lpthread
server_main:ServerMain.cc
	g++ -o $@ $^ -lpthread
.PHONY:clean
clean:
	rm -f server_main
	rm -f chat_client 